from django.urls import path
from .views import (ScoresListView,ScoresCreateView,ScoresUpdateView,
                    ScoresDeleteView,ScoresBulkDelteView,upload_scores,export_scores,
                    ScoresDetailView,MyScoreListView)


urlpatterns = [
    path('', ScoresListView.as_view(), name='score_list'),  
    path('create/', ScoresCreateView.as_view(), name='score_create'),
    path('<int:pk>/update/',ScoresUpdateView.as_view(),name='score_update'),
    path('<int:pk>/delete/',ScoresDeleteView.as_view(), name='score_delete'),
    path('bulk_delete/', ScoresBulkDelteView.as_view(), name='score_bulk_delete'),
    path('upload_student', upload_scores, name='upload_score'),
    path('export_excel', export_scores, name='export_scores'),
    path('<int:pk>/detail', ScoresDetailView.as_view(), name='score_detail'),
    path('my_scores', MyScoreListView.as_view(), name='my_scores')
]